using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class DMS002Entity:AF_ORM.CORE.BaseEntity
    {
         public DMS002Entity()
         {
             tableName = "DMS002";


			 fieldInfos.Add(new FieldInfo("DMS002","DEALER_CODE","DEALER_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","CLIENT_CODE","CLIENT_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","SHORT_NAME","SHORT_NAME","string",255,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","FULL_NAME","FULL_NAME","string",255,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","HEAD_ADD","HEAD_ADD","string",255,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","D_CODE","D_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","P_CODE","P_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","HEAD_TEL","HEAD_TEL","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","HEAD_FAX","HEAD_FAX","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","HEAD_EMAIL","HEAD_EMAIL","string",40,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","HEAD_TAX_CODE","HEAD_TAX_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","HEAD_ACC_NO","HEAD_ACC_NO","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","HEAD_BANK_NAME","HEAD_BANK_NAME","string",255,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","ACTFLG","ACTFLG","string",1,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","CTDUSR","CTDUSR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","CTDWKS","CTDWKS","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","CTDPGM","CTDPGM","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","CTDDTM","CTDDTM","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","MDFUSR","MDFUSR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","MDFWKS","MDFWKS","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","MDFPGM","MDFPGM","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS002","LSTMDF","LSTMDF","DateTime",0,false,false,false,false,"","",""));
         }
       //properties
                    
		 protected string m_DEALER_CODE;
		 protected string m_CLIENT_CODE;
		 protected string m_SHORT_NAME;
		 protected string m_FULL_NAME;
		 protected string m_HEAD_ADD;
		 protected string m_D_CODE;
		 protected string m_P_CODE;
		 protected string m_HEAD_TEL;
		 protected string m_HEAD_FAX;
		 protected string m_HEAD_EMAIL;
		 protected string m_HEAD_TAX_CODE;
		 protected string m_HEAD_ACC_NO;
		 protected string m_HEAD_BANK_NAME;
		 protected string m_ACTFLG;
		 protected string m_CTDUSR;
		 protected string m_CTDWKS;
		 protected string m_CTDPGM;
		 protected DateTime m_CTDDTM;
		 protected string m_MDFUSR;
		 protected string m_MDFWKS;
		 protected string m_MDFPGM;
		 protected DateTime m_LSTMDF;

		 public string DEALER_CODE

          { 
                get { 
                    return m_DEALER_CODE;}

                set{m_DEALER_CODE=value;

                    GetField("DEALER_CODE").Set();
                    GetField("DEALER_CODE").IsNull=(value == null);           
                    }
          }
		 public string CLIENT_CODE

          { 
                get { 
                    return m_CLIENT_CODE;}

                set{m_CLIENT_CODE=value;

                    GetField("CLIENT_CODE").Set();
                    GetField("CLIENT_CODE").IsNull=(value == null);           
                    }
          }
		 public string SHORT_NAME

          { 
                get { 
                    return m_SHORT_NAME;}

                set{m_SHORT_NAME=value;

                    GetField("SHORT_NAME").Set();
                    GetField("SHORT_NAME").IsNull=(value == null);           
                    }
          }
		 public string FULL_NAME

          { 
                get { 
                    return m_FULL_NAME;}

                set{m_FULL_NAME=value;

                    GetField("FULL_NAME").Set();
                    GetField("FULL_NAME").IsNull=(value == null);           
                    }
          }
		 public string HEAD_ADD

          { 
                get { 
                    return m_HEAD_ADD;}

                set{m_HEAD_ADD=value;

                    GetField("HEAD_ADD").Set();
                    GetField("HEAD_ADD").IsNull=(value == null);           
                    }
          }
		 public string D_CODE

          { 
                get { 
                    return m_D_CODE;}

                set{m_D_CODE=value;

                    GetField("D_CODE").Set();
                    GetField("D_CODE").IsNull=(value == null);           
                    }
          }
		 public string P_CODE

          { 
                get { 
                    return m_P_CODE;}

                set{m_P_CODE=value;

                    GetField("P_CODE").Set();
                    GetField("P_CODE").IsNull=(value == null);           
                    }
          }
		 public string HEAD_TEL

          { 
                get { 
                    return m_HEAD_TEL;}

                set{m_HEAD_TEL=value;

                    GetField("HEAD_TEL").Set();
                    GetField("HEAD_TEL").IsNull=(value == null);           
                    }
          }
		 public string HEAD_FAX

          { 
                get { 
                    return m_HEAD_FAX;}

                set{m_HEAD_FAX=value;

                    GetField("HEAD_FAX").Set();
                    GetField("HEAD_FAX").IsNull=(value == null);           
                    }
          }
		 public string HEAD_EMAIL

          { 
                get { 
                    return m_HEAD_EMAIL;}

                set{m_HEAD_EMAIL=value;

                    GetField("HEAD_EMAIL").Set();
                    GetField("HEAD_EMAIL").IsNull=(value == null);           
                    }
          }
		 public string HEAD_TAX_CODE

          { 
                get { 
                    return m_HEAD_TAX_CODE;}

                set{m_HEAD_TAX_CODE=value;

                    GetField("HEAD_TAX_CODE").Set();
                    GetField("HEAD_TAX_CODE").IsNull=(value == null);           
                    }
          }
		 public string HEAD_ACC_NO

          { 
                get { 
                    return m_HEAD_ACC_NO;}

                set{m_HEAD_ACC_NO=value;

                    GetField("HEAD_ACC_NO").Set();
                    GetField("HEAD_ACC_NO").IsNull=(value == null);           
                    }
          }
		 public string HEAD_BANK_NAME

          { 
                get { 
                    return m_HEAD_BANK_NAME;}

                set{m_HEAD_BANK_NAME=value;

                    GetField("HEAD_BANK_NAME").Set();
                    GetField("HEAD_BANK_NAME").IsNull=(value == null);           
                    }
          }
		 public string ACTFLG

          { 
                get { 
                    return m_ACTFLG;}

                set{m_ACTFLG=value;

                    GetField("ACTFLG").Set();
                    GetField("ACTFLG").IsNull=(value == null);           
                    }
          }
		 public string CTDUSR

          { 
                get { 
                    return m_CTDUSR;}

                set{m_CTDUSR=value;

                    GetField("CTDUSR").Set();
                    GetField("CTDUSR").IsNull=(value == null);           
                    }
          }
		 public string CTDWKS

          { 
                get { 
                    return m_CTDWKS;}

                set{m_CTDWKS=value;

                    GetField("CTDWKS").Set();
                    GetField("CTDWKS").IsNull=(value == null);           
                    }
          }
		 public string CTDPGM

          { 
                get { 
                    return m_CTDPGM;}

                set{m_CTDPGM=value;

                    GetField("CTDPGM").Set();
                    GetField("CTDPGM").IsNull=(value == null);           
                    }
          }
		 public DateTime CTDDTM

          { 
                get { 
                    return m_CTDDTM;}

                set{m_CTDDTM=value;

                    GetField("CTDDTM").Set();
                    GetField("CTDDTM").IsNull=(value == null);           
                    }
          }
		 public string MDFUSR

          { 
                get { 
                    return m_MDFUSR;}

                set{m_MDFUSR=value;

                    GetField("MDFUSR").Set();
                    GetField("MDFUSR").IsNull=(value == null);           
                    }
          }
		 public string MDFWKS

          { 
                get { 
                    return m_MDFWKS;}

                set{m_MDFWKS=value;

                    GetField("MDFWKS").Set();
                    GetField("MDFWKS").IsNull=(value == null);           
                    }
          }
		 public string MDFPGM

          { 
                get { 
                    return m_MDFPGM;}

                set{m_MDFPGM=value;

                    GetField("MDFPGM").Set();
                    GetField("MDFPGM").IsNull=(value == null);           
                    }
          }
		 public DateTime LSTMDF

          { 
                get { 
                    return m_LSTMDF;}

                set{m_LSTMDF=value;

                    GetField("LSTMDF").Set();
                    GetField("LSTMDF").IsNull=(value == null);           
                    }
          }

}
}
